package com.ruoyi.user.mapper;

import java.util.List;

import com.ruoyi.user.domain.UserReceivingAli;

/**
 * 收款方式-支付宝Mapper接口
 *
 * @author ruoyi
 * @date 2024-01-10
 */
public interface UserReceivingAliMapper {
    /**
     * 查询收款方式-支付宝
     *
     * @param accountId 收款方式-支付宝主键
     * @return 收款方式-支付宝
     */
    UserReceivingAli selectUserReceivingAliByAccountId(Long accountId);

    /**
     * 查询收款方式-支付宝列表
     *
     * @param userReceivingAli 收款方式-支付宝
     * @return 收款方式-支付宝集合
     */
    List<UserReceivingAli> selectUserReceivingAliList(UserReceivingAli userReceivingAli);

    /**
     * 新增收款方式-支付宝
     *
     * @param userReceivingAli 收款方式-支付宝
     * @return 结果
     */
    int insertUserReceivingAli(UserReceivingAli userReceivingAli);

    /**
     * 修改收款方式-支付宝
     *
     * @param userReceivingAli 收款方式-支付宝
     * @return 结果
     */
    int updateUserReceivingAli(UserReceivingAli userReceivingAli);

    /**
     * 删除收款方式-支付宝
     *
     * @param accountId 收款方式-支付宝主键
     * @return 结果
     */
    int deleteUserReceivingAliByAccountId(Long accountId);

    /**
     * 批量删除收款方式-支付宝
     *
     * @param accountIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteUserReceivingAliByAccountIds(Long[] accountIds);

    List<UserReceivingAli> selectByIds(List<Long> list);
}
